package de.metalcon.gwt.client.mainDesign;

import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Widget;

import de.metalcon.gwt.client.Metalcon;

public class Box extends FlowPanel {
	private final FlowPanel contentPanel = new FlowPanel();;

	public Box(int width) {
		this();
		this.setWidth(width + "px");
	}
	
	public Box() {
		super.add(contentPanel);
	}

	@Override
	public void add(Widget w) {
		contentPanel.add(w);
	}

	@Override
	public boolean remove(Widget w) {
		return contentPanel.remove(w);
	}

	@Override
	public boolean remove(int i) {
		return contentPanel.remove(i);
	}
}
